<div class="span3">
    <div class="well sidebar-nav">
        <ul class="nav nav-list">
            <li class="nav-header"><?php echo __d('cake', 'Actions'); ?></li>
            <li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?></li>
            <li><?php echo $this->Html->link(__('List Images'), array('controller' => 'images', 'action' => 'index')); ?> </li>
            <li><?php echo $this->Html->link(__('New Image'), array('controller' => 'images', 'action' => 'add')); ?> </li>
        </ul>
    </div>
</div>

<div class="span9">
    <?php echo $this->Session->flash(); ?>
<?php echo $this->Form->create('Product', array('type' => 'file')); ?>
    <fieldset>
        <legend><?php echo __('Admin Add Product'); ?></legend>
    <?php
        echo $this->Form->input('title', array('label' => 'Titulo'));        
        echo $this->Form->input('body', array('label' => 'Caracteristicas'));
        echo $this->Form->input('lead', array('label' => 'Medidas'));
        echo $this->Form->input('coverage', array('label' => 'Cobertura'));           
        echo $this->Form->input('technical', array('label' => 'Archivo', 'type' => 'file'));
        echo $this->Form->input('is_active', array('label' => 'Activo'));
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>

    <script type="text/javascript">
tinyMCE.init({
        // General options
        mode : "textareas",
        theme : "advanced",
        language : "es",
        width : "640",
        height: "380",
        convert_urls : false 
});
</script>

